using System;
using System.Data;

namespace Transfer_Object_Tier
{
	#region Comments
	/// <summary>
	/// LICENSE Class.
	/// </summary>
	/// <remarks>
	/// <h3>Changes</h3>
	/// <list type="table">
	/// 	<listheader>
	/// 		<th>Author</th>
	/// 		<th>Date</th>
	/// 		<th>Details</th>
	/// 	</listheader>
	/// 	<item>
	/// 		<term>eSolution Viet Nam -- esolution.vn</term>
	/// 		<description>12/21/2012</description>
	/// 		<description>Created</description>
	/// 	</item>
	/// </list>
	/// </remarks>
	#endregion

	[Serializable]
	public class LICENSE
	{
		#region Construction
		/// <summary>
		/// Initializes a new (no-args) instance of the LICENSE class.
		/// </summary>
		public LICENSE()
		{
		}

		/// <summary>
		/// Initializes a new instance of the LICENSE class.
		/// </summary>
		public LICENSE(Int32 Id_License, Int32 Id_Soft, String KeyCode, String MachineCode, Boolean Active, String Version, DateTime DateActive, Int32 ReActive)
		{
			this.Id_License = Id_License;
			this.Id_Soft = Id_Soft;
			this.KeyCode = KeyCode;
			this.MachineCode = MachineCode;
			this.Active = Active;
			this.Version = Version;
			this.DateActive = DateActive;
			this.ReActive = ReActive;
		}
		#endregion

		#region Properties
		/// <summary>
		/// Gets or sets the Id_License value.
		/// </summary>
		public virtual Int32 Id_License { get; set; }

		/// <summary>
		/// Gets or sets the Id_Soft value.
		/// </summary>
		public virtual Int32 Id_Soft { get; set; }

		/// <summary>
		/// Gets or sets the KeyCode value.
		/// </summary>
		public virtual String KeyCode { get; set; }

		/// <summary>
		/// Gets or sets the MachineCode value.
		/// </summary>
		public virtual String MachineCode { get; set; }

		/// <summary>
		/// Gets or sets the Active value.
		/// </summary>
		public virtual Boolean Active { get; set; }

		/// <summary>
		/// Gets or sets the Version value.
		/// </summary>
		public virtual String Version { get; set; }

		/// <summary>
		/// Gets or sets the DateActive value.
		/// </summary>
		public virtual DateTime DateActive { get; set; }

		/// <summary>
		/// Gets or sets the ReActive value.
		/// </summary>
		public virtual Int32 ReActive { get; set; }
		#endregion
	}
}